# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=ukui-menu
pkgver=3.0.3
pkgrel=2
pkgdesc="Start menu development library and advanced graphical user interface for UKUI"
arch=('loong64' 'x86_64')
license=('GPL')
url="https://github.com/ukui/ukui-menu"
groups=('ukui')
depends=('bamf' 'gsettings-qt' 'kwindowsystem5' 'qt5-svg' 'qt5-x11extras' 'uchardet' 'ukui-interface')
makedepends=('qt5-tools')
source=("$pkgname-$pkgver.tar.gz::https://github.com/ukui/ukui-menu/archive/v$pkgver.tar.gz")
sha512sums=('2cda05f4bf705e19272cade0a50a4a9685161fc0571434d2ed43b78fb4355ad466411f8cb36412ca61095f4a052731fcc4c3efb09377d987c08be20c7a2502bb')

build() {
  cd ukui-menu-$pkgver
  qmake-qt5 PREFIX=/usr
  make
}

package() {
  cd ukui-menu-$pkgver
  make INSTALL_ROOT="$pkgdir" install
}
